<!doctype html>
<html lang="en-US">
<head>
    <meta charset="UTF-8">
    <title></title>
    <script type="text/javascript" src="./bower_components/jquery/dist/jquery.js"></script>
    <style type="text/css">
        html,body{
            margin: 0;
            padding: 0;
        }
        .content{
            height: 1000px;
            background-color: lightcoral;
        }
    </style>
</head>
<body>
<div class="content">

</div>

<div id="test">
   点击我
</div>

<script type="text/javascript">
    $(window).on('scroll.custom',function(){
        console.log('scroll');
    });

    $('#test').on('click',function(){
        console.log('test');
    });
</script>

</body>
</html>